package com.njts.bean;

public class Subject {
    private int id; //科目序号
    private String name; //科目名称
    private float score; //科目学分
    private float courseTime; //科目需要完成的课时

    @Override
    public String toString() {
        return "Subject{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", score=" + score +
                ", courseTime=" + courseTime +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public float getScore() {
        return score;
    }

    public void setScore(float score) {
        this.score = score;
    }

    public float getCourseTime() {
        return courseTime;
    }

    public void setCourseTime(float courseTime) {
        this.courseTime = courseTime;
    }
}
